<?php $latest_posts	=	 $this->requestAction(array('plugin'=>'blog','controller' => 'blog_posts', 'action' => 'latest_posts')); 

//pr($latest_posts);
 ?> 
                <h3 class="widgettitle"><?php echo __('Latest Posts'); ?></h3>
                  <ul>
                  <?php if(isset($latest_posts)) {
				  foreach($latest_posts as $latest_post){
				   ?>
                      <li><?php 
					  
					  $title	=	$this->Text->truncate($latest_post['BlogPost']['title'],70);
					  					  echo '<a href="blog/'.$latest_post['BlogPost']['slug'].'">'.$title.'</a>';

//					  echo $this->Html->link($title, array('plugin'=>'blog','controller' =>'blog','action' => 'view',  $latest_post['BlogPost']['slug']), array('title' => $latest_post['BlogPost']['title'], 'rel' => 'bookmark'));
					  
					  ?>
                          <span class="meta-data"><?php echo $this->Time->format($latest_post['BlogPost']['created'], '%b %e, %Y %H:%m %p'); ?></span>
                      </li>
                  <?php 
					  			}
						  }
				  ?>
                  </ul>